import { Button } from "antd"
import { useNavigate } from "react-router-dom"
export default () => {
  const r = useNavigate()

  const goDetail = () => {
    r("/app/detail", {})
  }

  return (
    <div style={{}}>
      <Button onClick={goDetail}>Detail123</Button>
    </div>
  )
}
